//
//  SearchCollectionViewCell.m
//  HappinessTrip
//
//  Created by dllo on 15/10/17.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "SearchCollectionViewCell.h"

@implementation SearchCollectionViewCell
-(void)dealloc
{
    [_label release];
    [super dealloc];
}
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)];
        self.label.layer.cornerRadius = 15;
        self.label.layer.masksToBounds = YES;
        self.label.layer.borderWidth = 1;
        self.label.textAlignment = 1;
        self.label.textColor = [UIColor colorWithRed:0.7 green:0.34 blue:0.65 alpha:1];
        self.label.layer.borderColor = [[UIColor colorWithRed:0.7 green:0.34 blue:0.65 alpha:1] CGColor];
        [self.contentView addSubview:self.label];
    }
    return self;
}







@end
